//
//  TLChengYu.h
//  Books
//
//  Created by tao故乡的云 on 2017/3/16.
//  Copyright © 2017年 故乡的云. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TLChengYu : NSObject<NSCoding>
/** name */
@property (nonatomic,copy) NSString *name;
/** 拼音 */
@property (nonatomic,copy) NSString *pinYin;
/** 注释内容 */
@property (nonatomic,copy) NSString *zhuShi;
/** 例句 */
@property (nonatomic,copy) NSString *liJu;
/** 典故 */
@property (nonatomic,copy) NSString *dianGu;
/** 字母索引 */
@property (nonatomic,copy) NSString *index;
/** 收藏 */
@property (nonatomic,assign,getter=isLove) bool love;

+ (instancetype)chengYuWithDict:(NSDictionary *)dict;
@end
